home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
castools.zip
/
FUNCEH.ASM
< prev
next >
Wrap
Assembly Source File
|
1990-01-05
|
1KB
|
41 lines
Include multi.inc
Include model.inc
;==============================================================================
;
; CAS function Eh -- Get External Data Block
;
; Format:
; int CASGetExternalData (EDB *buffer)
; Input:
; pointer to EDB structure
; Output:
; Returns 0 if successful or negative error code,
; fills external data structure.
;==============================================================================
.CODE
CASGetExternalData PROC arg1:PTR WORD
push ds ; save registers
push dx
mov ax,MUX ; load multiplex number
mov ah,al ; move into ah
mov al,0Eh ; CAS function E
IF @DataSize ; large and medium models
lds dx,arg1 ; pointer to data block
ELSE
mov dx,arg1 ; small model
ENDIF
int 2Fh
pop dx ; restore registers
pop ds
ret
CASGetExternalData endp
END